﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace  DongleManage.Model.EssentialData
{

		
	/// <summary>
	///  表'CourseStudent'的实体表示.
	/// </summary>
	/// <remarks>
	/// 该实体由工具生成，尽量不要手动修改
	/// </remarks>
	[DataContract]
	public partial class CourseStudentEntity 
	{
		#region 属性、变量声明
		#region 主属性 --对应数据表主键
		/// <summary>			
		/// TransactionNumber : 
		/// </summary>
		/// <remarks>表CourseStudent主键</remarks>
		[DisplayName("")]
		[DataMember]
		public Int32 TransactionNumber
        {
            get;
            set;
        }
		#endregion
		
		#region 属性
		
		/// <summary>
		/// CourseNumber : 
		/// </summary>
        [DisplayName("")]
        
		[DataMember]
		public Int64? CourseNumber
        {
            get;
            set;
        }
		
		/// <summary>
		/// CustomerID : 
		/// </summary>
        [DisplayName("")]
        
		[DataMember]
		public Int32? CustomerID
        {
            get;
            set;
        }
		
		/// <summary>
		/// NoticeItem :  心脏病\ 糖尿病\ 高血压\ 关节炎\ 急症病\ 哮喘\ 其他。这些记录在数据字典里。
		/// 		///    以xml形式记录是否选中
		/// </summary>
        [DisplayName(" 心脏病\ 糖尿病\ 高血压\ 关节炎\ 急症病\ 哮喘\ 其他。这些记录在数据字典里。
		/// 		///    以xml形式记录是否选中")]
        [StringLength(256, ErrorMessage = "请勿输入超过 256 个字!")]
        
		[DataMember]
		public String NoticeItem
        {
            get;
            set;
        }
		
		/// <summary>
		/// InUserID : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Int32 InUserID
        {
            get;
            set;
        }
		
		/// <summary>
		/// InDate : 
		/// </summary>
        [DisplayName("")]
        
		[DataMember]
		public DateTime InDate
        {
            get;
            set;
        }
		
		/// <summary>
		/// EditUserID : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public Int32 EditUserID
        {
            get;
            set;
        }
		
		/// <summary>
		/// EditDate : 
		/// </summary>
        [DisplayName("")]
        [Required(ErrorMessage = "不允许为空!")]
        
		[DataMember]
		public DateTime EditDate
        {
            get;
            set;
        }
		#endregion

		#endregion 属性、变量声明
		
	    public CourseStudentEntity()
        {
            TransactionNumber = (int)0;
            CourseNumber = null;
            CustomerID = null;
            NoticeItem = null;
            InUserID = (int)0;
            InDate = DateTime.Now;
            EditUserID = (int)0;
            EditDate = DateTime.Now;
        }
	}
}
